package com.example.demo.entity;


import java.io.Serializable;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色与权限的集合类
 * @author Henry.Y
 * 2019年5月13日
 */
@Data
@NoArgsConstructor
public class RoleAndPermission implements Serializable{
	
	private static final long serialVersionUID= 314121117808022675L;

	private String roleId;          //角色序号
	
	private String permissionId;    //权限序号
	
	private Role role;
	
	private Permission permission;
	
	public RoleAndPermission(String roleId,String permissionId){
		this.roleId= roleId;
		this.permissionId= permissionId;
	}
}

